package com.byxy.po;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import java.io.Serializable;
import java.util.Date;

//用户详细表

@Table(name = "DetailsUser")
@Data
public class DetailsUser{
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 15, isKey = true, isAutoIncrement = true)
    private Integer id;//id
    @Column(name = "sex", type = MySqlTypeConstant.CHAR, length = 4)
    private String sex;//性别
    @Column(name = "date_birth", type = MySqlTypeConstant.DATETIME)
    private Date date_birth;//出生年月
    @Column(name = "region", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String region;//地区
    @Column(name = "industry", type = MySqlTypeConstant.VARCHAR, length = 40)
    private String industry;//行业
    @Column(name = "position", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String position;//职位
    @Column(name = "intr_blog", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String intr_blog;//简介
}
